package cn.cdeden.aiqa.domain.bo;

import cn.cdeden.aiqa.domain.WikiHelper;
import cn.cdeden.common.core.validate.AddGroup;
import cn.cdeden.common.core.validate.EditGroup;
import cn.cdeden.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 智能体管理业务对象 wiki_helper
 *
 * @author Nick
 * @date 2025-02-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WikiHelper.class, reverseConvertGenerate = false)
public class WikiHelperBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 标题文字
     */
    @NotBlank(message = "标题文字不能为空", groups = { AddGroup.class, EditGroup.class })
    private String titleText;

    /**
     * 背景颜色
     */
    @NotBlank(message = "背景颜色不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgColor;

    /**
     * 文字颜色
     */
    @NotBlank(message = "文字颜色不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fontColor;

    /**
     * 助手标题
     */
    @NotBlank(message = "助手标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String titleName;

    /**
     * 助手描述
     */
    @NotBlank(message = "助手描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String desc;

    /**
     * 指令
     */
    @NotBlank(message = "指令不能为空", groups = { AddGroup.class, EditGroup.class })
    private String command;

    /**
     * 示例语句
     */
    @NotBlank(message = "示例语句不能为空", groups = { AddGroup.class, EditGroup.class })
    private String example;

    /**
     * 助手类型
     */
    @NotBlank(message = "助手类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;


}
